//
//  CPWaveView.h
//  WaveViewTest
//
//  Created by MorpLCP on 2017/6/15.
//  Copyright © 2017年 yizhan. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CPWaveView : UIView

@property (nonatomic, strong) UIColor *topWaveColor;
@property (nonatomic, strong) UIColor *bottomWaveColor;
@property (nonatomic, assign) CGFloat waveHeight; // 波浪的高度
@property (nonatomic, assign) CGFloat waveSpeed; // 波浪的速度 [0, 1]

- (void)start;
- (void)stop;
- (void)invalidate;

@end
